package com.zjw.forum.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@ApiModel("返回板块信息")
@Data
public class Board {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户姓名")
    private String name;
    @ApiModelProperty("文章总数")
    private Integer articleCount;
    @JsonIgnore
    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("是否禁用")
    private Byte state;
    @JsonIgnore
    @ApiModelProperty("是否删除")
    private Byte deleteState;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
}